package com.admin.education.dataTransferObject.icons.Mapper;

import com.admin.education.dataTransferObject.icons.IconsTransfer;
import com.admin.education.dataTransferObject.icons.request.CreateIconsRequest;
import com.admin.education.dataTransferObject.icons.request.UpdateIconsRequest;
import com.admin.education.models.Icons;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.Mappings;

import java.util.List;

@Mapper
public abstract class IconsMapper {
    @Mappings({})
    public abstract IconsTransfer mapFrom(Icons icons);
    @Mappings({})
    public abstract List<IconsTransfer> mapFrom(List<Icons> icons);
    @Mappings({})
    public abstract Icons mapFrom(CreateIconsRequest createIconsRequest);
    @Mappings({})
    public abstract Icons mapFrom(UpdateIconsRequest updateIconsRequest, @MappingTarget Icons icons);
}
